package cn.eonshine.cuba.inf.modular.log.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import cn.eonshine.cuba.inf.modular.log.entity.Log;
import cn.eonshine.cuba.inf.modular.log.entity.LogDetail;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Alan
 * @since 2018-08-11
 */
public interface LogDetailMapper extends BaseMapper<LogDetail> {
	public int deleteBatchByKeepDays(@Param("keepDay")Date keepDay);
	
	public List<LogDetail> selectCleanLogDetails(@Param("logs")List<Log> logs);
}
